#include <stdio.h>

int main(int argc, char *argv[])
{
	float s, m, n, w;
	scanf("%f %f %f %f", &s, &m, &n, &w);
	printf("s=%f\n", s);
	printf("%.3f\n", s/(m+n)*w);

	return 0;
}
